<%@ page import="com.my.listeners.BeanListener" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/4
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>Listener</title>
  </head>
  <body>
        <%
          BeanListener bean = new BeanListener();
          bean.setNum(1);
          bean.setName("user");
          session.setAttribute("bean",bean);
        %>
  </body>
</html>
